package com.moji.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 数据统计表
 * </p>
 *
 * @author ccl
 * @since 2024-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MjStatistics对象", description="数据统计表")
public class QueryStatisticsDto {

    @ApiModelProperty(value = "*1:登录-login" +
            "2:立即注册-register" +
            "* 3:首页-index" +
            "* 4:导航栏菜单-menu" +
            "* 5:解决方案-solution" +
            "6:产品-product" +
            "7:API-apis" +
            "8:关于我们-about" +
            "9:新闻中心-news" +
            " 10:支持与帮助-support")
    private String menuType;

    @ApiModelProperty(value = "按钮编码",required = true)
    private String buttonCode;

    @ApiModelProperty(value = "按钮名称")
    private String buttonName;

    @ApiModelProperty(value = "标题")
    private String titleId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date startDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "截至时间")
    private Date endDate;

    @ApiModelProperty(value = "1-验证码登录 2-账号登录")
    private Integer loginWay;

}
